<template>
	<view class="content" style="height: 100vh">
		<iframe :src="src" frameborder="0" height="100%" width="100%"></iframe>
	</view>
</template>

<script>
export default {
	data() {
		return {
			src: "",
		}
	},
	onLoad(option) {
		console.log(option)
		this.src =
			"/hybrid/html/cc/playback-mobile.html?roomId=" +
			option.roomId +
			"&userId=" +
			option.userId +
			"&viewername=" +
			option.viewername +
			"&recordId=" +
			option.recordId +
			"&viewertoken=" +
			option.viewertoken
	},
}
</script>

<style></style>
